use clap::Parser;
use dotenv::dotenv;
use log::debug;

#[derive(Debug, Parser)]
#[command(version, about, long_about = "Consensus test")]
#[command(next_line_help = true)]
struct Cli {
    #[arg(short = 'p', long = "port", default_value = "123223")]
    count: Option<u32>,

    #[arg(short, long, default_value = "false")]
    verbose: bool,
}

fn main() {
    dotenv().ok();
    env_logger::init();

    let cli = Cli::parse();

    if cli.verbose {
        debug!("[Running debug mode]");
    }
}
